import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

import area from './area/area'
import admin from "@/store/user/admin";
import pay from './pay/pay'

export default new Vuex.Store({
    state: {
        adminInfo: {},
        areaList: [],
        token: localStorage.getItem('token') ? localStorage.getItem('token') : null,
        Unsettled: []
    },
    getters: {},
    mutations: {
        ...area,
        ...admin,
        ...pay

    },
    actions: {},
    modules: {}
})
